package com.vcredit.creditcat.framework.pagination;

import java.util.List;

public class Page<T> {
	private long results;
	private List<T> rows;
	
	public Page(long results, List<T> rows) {
		super();
		this.results = results;
		this.rows = rows;
	}
	public Page(List<T> rows) {
		super();
		this.rows = rows;
	}

	public long getResults() {
		return results;
	}
	public void setResults(long results) {
		this.results = results;
	}
	public List<T> getRows() {
		return rows;
	}
	public void setRows(List<T> rows) {
		this.rows = rows;
	}
}
